/*
 * @Description:一些固定的数据，不能修改该文件
 * @Version: 1.0
 * @Autor: chen_yt
 * @Date: 2020-11-12 09:32:11
 * @LastEditors: chen_yt
 * @LastEditTime: 2021-04-29 11:25:10
 */

export const defaultMinLength = {
    TITLE: 400,

    CONTEXT: 400,
    FILE: 300,
    PUBLISHDATE: 300,
    AUTOPUBLISHFLAG: 300,
    TITLE2: 300,
    COVERPICTURE: 300,
    TITLE3: 300,
    ABSTRACT: 300,
    FILE2: 300,

    CREATEDATE: 200,
    UPDATEDATE: 200,

    AUTHORUSERFULLNAME: 200,
    DEPTNAME: 300,
    INPUTERFULLNAME: 200,


    CREATEUSER: 150,
    UPDATEUSER: 150,




    FILEDOWNFLAG: 100,

    COMMENTFLAG: 100,
    HIDEFLAG: 100,


}

export const defaultMaxLength = {


    FILE: 300,
    PUBLISHDATE: 300,
    AUTOPUBLISHFLAG: 300,
    TITLE2: 300,
    COVERPICTURE: 300,
    TITLE3: 300,
    ABSTRACT: 300,
    FILE2: 300,

    CREATEDATE: 200,
    UPDATEDATE: 200,

    AUTHORUSERFULLNAME: 200,
    DEPTNAME: 300,
    INPUTERFULLNAME: 200,


    CREATEUSER: 150,
    UPDATEUSER: 150,




    FILEDOWNFLAG: 100,

    COMMENTFLAG: 100,
    HIDEFLAG: 100,
}


export const defaultAlign = {
    TITLE: 1,
    CONTEXT: 1,
    DEPTNAME: 0,
    INPUTERFULLNAME: 0,
    FILE: 0,
    FILEDOWNFLAG: 0,
    AUTHORUSERFULLNAME: 0,
    COMMENTFLAG: 0,
    HIDEFLAG: 0,
    PUBLISHDATE: 0,
    AUTOPUBLISHFLAG: 0,
    TITLE2: 1,
    COVERPICTURE: 0,
    TITLE3: 1,
    ABSTRACT: 0,
    FILE2: 0
}

export const defaultField = [
    {
        alias: '标题',
        fieldName: 'TITLE',
        fieldType: 'title',
        isReveal: '1',
        sortId: 1,
        canDel: '0'
    },
    {
        alias: '正文',
        fieldName: 'CONTEXT',
        fieldType: 'context',
        isReveal: '0',
        sortId: 2,
        canDel: '0'
    },
    {
        alias: '创建时间',
        fieldName: 'CREATEDATE',
        fieldType: 'createDate',
        isReveal: '0',
        sortId: 3,
        canDel: '0'
    },
    {
        alias: '创建人',
        fieldName: 'CREATEUSER',
        fieldType: 'createBy',
        isReveal: '0',
        sortId: 4,
        canDel: '0'
    },
    {
        alias: '修改时间',
        fieldName: 'UPDATEDATE',
        fieldType: 'updateDate',
        isReveal: '1',
        sortId: 5,
        canDel: '0'
    },
    {
        alias: '修改人',
        fieldName: 'UPDATEUSER',
        fieldType: 'updateBy',
        isReveal: '0',
        sortId: 6,
        canDel: '0'
    },

]

export const notDisplay = [
    'CONTEXT',
    'FILE',
    'FILEDOWNFLAG',
    'COMMENTFLAG',
    'HIDEFLAG',
    'AUTOPUBLISHFLAG',
    'COVERPICTURE',
    'PUBLISHDATE'
]

export const baseFileName = [
    'title', 'createDate', 'createBy', 'updateDate', 'updateBy'
]
export const detialInContent = [
    'title', 'createDate', 'createBy', 'updateDate', 'updateBy', 'context',
]

export const detailNotShow = [
    'AUTOPUBLISHFLAG', 'PUBLISHDATE', 'TITLE'
]